﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicsMarket_Desktop.EMServices;

namespace ElectronicsMarket_Desktop.BL
{
   public class CatoryBL
    {
       ServicesReleaseSoapClient services;
       CATEGORY category;

       public CATEGORY Category
       {
           get { return category; }
           set { category = value; }
       }
       public CatoryBL()
       {
           services = new ServicesReleaseSoapClient();
           
       }

       public List<CATEGORY> GetAllCategory()
       {
           
           List<CATEGORY> lstcategory = new List<CATEGORY>();
           lstcategory = services.getAllCategory().ToList();
          
           return lstcategory;
       }
    }
}
